#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

    int         input_sort;
    int         input_type;
    QString     input_path;

    int         total_file;

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_inputButton_clicked();

    void on_intputcomboBox_currentIndexChanged(int index);

    void on_intputSortcomboBox_currentIndexChanged(int index);

    void on_StartpushButton_clicked();

    void on_set_total_file(int val);
    
    void file_searchDirectory(const QString &path);

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
